home *** CD-ROM | disk | FTP | other *** search
Unknown | 2001-03-07 | 823 b |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 6d 0c 63 6c 61 73 73 20 |........|m.class |
|00000010| 53 69 6d 70 6c 65 43 6f | 6d 6d 61 6e 64 6c 65 74 |SimpleCo|mmandlet|
|00000020| 20 65 78 70 61 6e 64 73 | 20 43 6f 6d 6d 61 6e 64 | expands| Command|
|00000030| 6c 65 74 3b 0d 0a 0d 0a | 76 61 72 20 69 6e 74 20 |let;....|var int |
|00000040| 69 6e 74 70 61 72 6d 3b | 0d 0a 0d 0a 66 75 6e 63 |intparm;|....func|
|00000050| 74 69 6f 6e 20 69 6e 74 | 20 54 65 73 74 46 75 6e |tion int| TestFun|
|00000060| 63 74 69 6f 6e 28 29 0d | 0a 7b 0d 0a 09 72 65 74 |ction().|.{...ret|
|00000070| 75 72 6e 20 36 36 36 3b | 0d 0a 7d 0d 0a 0d 0a 66 |urn 666;|..}....f|
|00000080| 75 6e 63 74 69 6f 6e 20 | 69 6e 74 20 4d 61 69 6e |unction |int Main|
|00000090| 28 20 73 74 72 69 6e 67 | 20 50 61 72 6d 73 20 29 |( string| Parms )|
|000000a0| 0d 0a 7b 0d 0a 09 6c 6f | 63 61 6c 20 69 6e 74 20 |..{...lo|cal int |
|000000b0| 74 65 6d 70 3b 0d 0a 09 | 6c 6f 63 61 6c 20 66 6c |temp;...|local fl|
|000000c0| 6f 61 74 20 66 6c 6f 61 | 74 74 65 6d 70 3b 0d 0a |oat floa|ttemp;..|
|000000d0| 09 6c 6f 63 61 6c 20 73 | 74 72 69 6e 67 20 74 65 |.local s|tring te|
|000000e0| 78 74 73 74 72 69 6e 67 | 3b 0d 0a 09 6c 6f 63 61 |xtstring|;...loca|
|000000f0| 6c 20 73 74 72 69 6e 67 | 20 6f 74 68 65 72 73 74 |l string| otherst|
|00000100| 72 69 6e 67 3b 0d 0a 0d | 0a 09 6c 6f 67 28 22 53 |ring;...|..log("S|
|00000110| 69 6d 70 6c 65 20 63 6f | 6d 6d 61 6e 64 6c 65 74 |imple co|mmandlet|
|00000120| 20 73 61 79 73 20 68 69 | 2e 22 29 3b 0d 0a 09 6c | says hi|.");...l|
|00000130| 6f 67 28 22 54 65 73 74 | 69 6e 67 20 66 75 6e 63 |og("Test|ing func|
|00000140| 74 69 6f 6e 20 63 61 6c | 6c 69 6e 67 2e 22 29 3b |tion cal|ling.");|
|00000150| 0d 0a 09 74 65 6d 70 20 | 3d 20 54 65 73 74 46 75 |...temp |= TestFu|
|00000160| 6e 63 74 69 6f 6e 28 29 | 3b 0d 0a 09 6c 6f 67 28 |nction()|;...log(|
|00000170| 22 46 75 6e 63 74 69 6f | 6e 20 63 61 6c 6c 20 72 |"Functio|n call r|
|00000180| 65 74 75 72 6e 65 64 22 | 20 40 20 74 65 6d 70 29 |eturned"| @ temp)|
|00000190| 3b 0d 0a 09 6c 6f 67 28 | 22 54 65 73 74 69 6e 67 |;...log(|"Testing|
|000001a0| 20 63 61 73 74 20 74 6f | 20 69 6e 74 2e 22 29 3b | cast to| int.");|
|000001b0| 0d 0a 09 66 6c 6f 61 74 | 74 65 6d 70 20 3d 20 33 |...float|temp = 3|
|000001c0| 2e 30 3b 0d 0a 09 74 65 | 6d 70 20 3d 20 69 6e 74 |.0;...te|mp = int|
|000001d0| 28 66 6c 6f 61 74 74 65 | 6d 70 29 3b 0d 0a 09 6c |(floatte|mp);...l|
|000001e0| 6f 67 28 22 54 65 6d 70 | 20 69 73 20 63 61 73 74 |og("Temp| is cast|
|000001f0| 20 66 72 6f 6d 20 22 24 | 66 6c 6f 61 74 74 65 6d | from "$|floattem|
|00000200| 70 24 22 20 74 6f 20 22 | 24 74 65 6d 70 29 3b 0d |p$" to "|$temp);.|
|00000210| 0a 09 6c 6f 67 28 22 54 | 65 73 74 69 6e 67 20 6d |..log("T|esting m|
|00000220| 69 6e 28 29 22 29 3b 0d | 0a 09 74 65 6d 70 20 3d |in()");.|..temp =|
|00000230| 20 4d 69 6e 28 33 32 2c | 20 54 65 73 74 46 75 6e | Min(32,| TestFun|
|00000240| 63 74 69 6f 6e 28 29 29 | 3b 0d 0a 09 6c 6f 67 28 |ction())|;...log(|
|00000250| 22 54 65 6d 70 20 69 73 | 20 6d 69 6e 28 33 32 2c |"Temp is| min(32,|
|00000260| 20 36 36 36 29 3a 20 22 | 24 54 65 6d 70 29 3b 0d | 666): "|$Temp);.|
|00000270| 0a 09 74 65 78 74 73 74 | 72 69 6e 67 20 3d 20 22 |..textst|ring = "|
|00000280| 77 6f 6f 6b 69 65 22 3b | 0d 0a 09 6c 6f 67 28 22 |wookie";|...log("|
|00000290| 33 20 69 73 20 61 20 22 | 24 4c 65 66 74 28 74 65 |3 is a "|$Left(te|
|000002a0| 78 74 73 74 72 69 6e 67 | 2c 20 33 29 29 3b 0d 0a |xtstring|, 3));..|
|000002b0| 09 6f 74 68 65 72 73 74 | 72 69 6e 67 20 3d 20 22 |.otherst|ring = "|
|000002c0| 73 6b 79 77 61 6c 6b 65 | 72 22 3b 0d 0a 09 6f 74 |skywalke|r";...ot|
|000002d0| 68 65 72 73 74 72 69 6e | 67 20 3d 20 4d 69 64 28 |herstrin|g = Mid(|
|000002e0| 20 6f 74 68 65 72 73 74 | 72 69 6e 67 2c 20 49 6e | otherst|ring, In|
|000002f0| 53 74 72 28 20 6f 74 68 | 65 72 73 74 72 69 6e 67 |Str( oth|erstring|
|00000300| 2c 20 22 61 22 20 29 20 | 29 3b 0d 0a 09 6c 6f 67 |, "a" ) |);...log|
|00000310| 28 22 6f 74 68 65 72 73 | 74 72 69 6e 67 3a 22 20 |("others|tring:" |
|00000320| 40 20 6f 74 68 65 72 73 | 74 72 69 6e 67 29 3b 0d |@ others|tring);.|
|00000330| 0a 7d 0d 0a 0d 0a 00 | |.}..... | |
+--------+-------------------------+-------------------------+--------+--------+